<?php

namespace App\Models\Admin;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;


class Api extends Model
{
    use HasFactory;
    protected $table = 'api';

    static function getappkey($id){
        $info = self::find($id);
        if($info){
            return $info->appkey;
        }
    }

}
